package com.joysuch.wwyt.workflow.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author ZhangDong
 * @Date 2021/1/8 10:11
 */
@Data
@NoArgsConstructor
public class ScreenColumnConfigDetailBean {

    @ApiModelProperty("前端字段显示名称")
    private String label;
    @ApiModelProperty("显示/隐藏")
    private boolean show;
    @ApiModelProperty("监测点实时数据显示/隐藏")
    private boolean valueShow;
    @ApiModelProperty("监测点实时数据显示/隐藏按钮是否显示")
    private boolean valueShowButton;
    @ApiModelProperty("字段英文名")
    private String name;

    public ScreenColumnConfigDetailBean(String label, String name, boolean valueShow, boolean valueShowButton) {
        this.label = label;
        this.name = name;
        this.valueShow = valueShow;
        this.valueShowButton = valueShowButton;
    }

    public ScreenColumnConfigDetailBean(String label, boolean show, String name, boolean valueShow, boolean valueShowButton) {
        this.show = show;
        this.label = label;
        this.name = name;
        this.valueShow = valueShow;
        this.valueShowButton = valueShowButton;
    }
}
